import axios from "@/utils/axios";

export default {
    // 生成家长邀请码
    generateParentsCode(data) {
        return axios({
            url: "/parents/generateParentsCode",
            method: "post",
            data
        });
    },
    // 删除家长邀请码
    deleteParentCode(code) {
        return axios.delete('/parents/code/' + code);
    },
    
}
